package com.atxwq.shop.manager.mapper;

import com.atxwq.shop.model.dto.order.OrderStatisticsDto;
import com.atxwq.shop.model.entity.order.OrderStatistics;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderStatisticsMapper {

    //把数据添加到订单结果表
    void insert(OrderStatistics orderStatistics);

    /**
     * 查询统计结果
     * @param orderStatisticsDto
     * @return
     */
    List<OrderStatistics> selectList(OrderStatisticsDto orderStatisticsDto);
}
